package ${basePackage}.service;

import ${basePackage}.dto.${className}SearchDTO;
import ${basePackage}.model.${className};
import com.wht.pirates.page.Pagination;

/**
* @Author: smili
*/
public interface ${className}Service {
    boolean update(${className} ${lowerClassName});

    boolean delete(${pkType} ${pkName});

    ${className} search(${pkType} ${pkName});

    Pagination<${className}> searchForPage(${className}SearchDTO ${lowerClassName}SearchDTO);

    boolean add(${className} ${lowerClassName});


}
